package com.yunhe.history.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Configuration
@ConfigurationProperties(prefix = "data", ignoreUnknownFields = false)
@PropertySource("classpath:config/datamonitor.properties")
@Component
public class DataMonitorConfig {

    private Long[] frequency15;
    private Long[] frequency1;
    private Long[] frequency;
    private Long[] fre;

    public Long[] getFrequency15() {
        return frequency15;
    }

    public void setFrequency15(Long[] frequency15) {
        this.frequency15 = frequency15;
    }

    public Long[] getFrequency1() {
        return frequency1;
    }

    public void setFrequency1(Long[] frequency1) {
        this.frequency1 = frequency1;
    }

    public Long[] getFrequency() {
        return frequency;
    }

    public void setFrequency(Long[] frequency) {
        this.frequency = frequency;
    }

    public Long[] getFre() {
        return fre;
    }

    public void setFre(Long[] fre) {
        this.fre = fre;
    }
}
